package com.wsz.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wsz.system.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wsz.vo.SysUserQueryVo;

import java.util.Map;

/**
* @author wangs
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2022-11-08 20:58:27
*/
public interface UserService extends IService<User> {

    Map<String, Object> getUserInfo(String username);

    //用户列表方法
    IPage<User> selectPage(Page<User> page1, SysUserQueryVo sysUserQueryVo);

    Boolean updateStatusById(String id, Integer status);
}
